home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
C
/
Frameworks
/
TransSkel 3.24
/
Source
/
Control Stuff
/
SkelToggleCtlValue.c
< prev
Wrap
Text File
|
1996-01-17
|
249b
|
17 lines
/*
* Toggle value of control, return resulting value.
*/
# include "TransSkel.h"
pascal short
SkelToggleCtlValue (ControlHandle ctrl)
{
short value;
value = (GetControlValue (ctrl) ? 0 : 1);
SetControlValue (ctrl, value);
return (value);
}